<?php
foreach($achs as $ach)
{
?>
<tr>
<td><?php if ($ach[0]) echo $html->image("check-success.png"); ?></td>
<td><?php echo $ach[1]; ?></td>
<td><?php echo $ach[2]; ?></td>
<td><?php echo $ach[3]; ?></td>
<td><?php echo $ach[4]; ?></td>
<td><?php echo $ach[5]; ?></td>
<td><?php echo $ach[6]; ?></td>
<td><?php echo $ach[7]; ?></td>
<td><?php echo $ach[8]; ?></td>
<?php
echo "<td><a class='ui-icon ui-icon-pencil' title='Edit' href='#' onclick='editach(".json_encode($ach).");'></a></td>";
echo "<td>".$js->link('Del',array('controller'=>'plugins','action'=>'delach'),array('htmlAttributes'=>array('title'=>'Delete','class'=>'ui-icon ui-icon-trash'),'update'=>'#plugins_showach','confirm'=>'Are you sure ?','data'=>'{name:\''.urlencode($ach[1]).'\'}','method'=>'post','dataExpression'=>true))."</td>";
?>
</tr>
<?php
}
echo $this->Js->writeBuffer();
?>